package com.ruoyi.wzgl.wzrk.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物资入库对象 wzgl_wzrk
 *
 * @author huacai
 * @date 2024-09-23
 */
public class Wzrk extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 物资入库ID */
    @Excel(name = "物资入库ID", cellType = Excel.ColumnType.NUMERIC, needMerge = true, type = Excel.Type.EXPORT)
    private Integer wzrkId;

    /** 入库方式 */
    @Excel(name = "入库方式", width = 20, needMerge = true)
    private String rkFs;

    /** 入库日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入库日期", width = 30, dateFormat = "yyyy-MM-dd", needMerge = true)
    private Date rkTime;

    /** 入库人 */
    @Excel(name = "入库人", width = 20, needMerge = true)
    private String rkName;

    /** 用户ID */
    private Integer userId;

    /** 部门ID */
    private Integer deptId;

    /** 入库明细信息 */
    @Excel(name = "入库明细信息")
    private List<WzrkRkmx> wzrkRkmxList;

    /** 入库状态 */
    private String rkZt;

    /** 部门名称 */
    private String deptName;

    /** 入库编号 */
    private String rkBh;

    /** 物资名称 */
    private String wzName;

    public String getWzName() {
        return wzName;
    }

    public void setWzName(String wzName) {
        this.wzName = wzName;
    }

    public void setRkBh(String rkBh)
    {
        this.rkBh = rkBh;
    }

    public String getRkBh()
    {
        return rkBh;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getRkZt() {
        return rkZt;
    }

    public void setRkZt(String rkZt) {
        this.rkZt = rkZt;
    }

    public void setWzrkId(Integer wzrkId)
    {
        this.wzrkId = wzrkId;
    }

    public Integer getWzrkId()
    {
        return wzrkId;
    }
    public void setRkFs(String rkFs)
    {
        this.rkFs = rkFs;
    }

    public String getRkFs()
    {
        return rkFs;
    }
    public void setRkTime(Date rkTime)
    {
        this.rkTime = rkTime;
    }

    public Date getRkTime()
    {
        return rkTime;
    }
    public void setRkName(String rkName)
    {
        this.rkName = rkName;
    }

    public String getRkName()
    {
        return rkName;
    }
    public void setUserId(Integer userId)
    {
        this.userId = userId;
    }

    public Integer getUserId()
    {
        return userId;
    }
    public void setDeptId(Integer deptId)
    {
        this.deptId = deptId;
    }

    public Integer getDeptId()
    {
        return deptId;
    }

    public List<WzrkRkmx> getWzrkRkmxList()
    {
        return wzrkRkmxList;
    }

    public void setWzrkRkmxList(List<WzrkRkmx> wzrkRkmxList)
    {
        this.wzrkRkmxList = wzrkRkmxList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("wzrkId", getWzrkId())
            .append("rkFs", getRkFs())
            .append("rkTime", getRkTime())
            .append("rkName", getRkName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("rkZt", getRkZt())
            .append("wzrkRkmxList", getWzrkRkmxList())
            .append("rkBh", getRkBh())
            .toString();
    }
}
